package com.cyj.spring.springframeword.beans.factory.support;

import com.cyj.spring.springframeword.beans.factory.config.BeanDefinition;

/**
 * @Description: bean定义注册表
 * @BelongsProject: small-spring
 * @BelongsPackage: com.cyj.spring.springframeword.beans.factory.support
 * @Author: ChenYongJia
 * @CreateTime: 2021-07-26 14:38
 * @Email: chen87647213@163.com
 * @Version: 1.0
 */
public interface BeanDefinitionRegistry {

    /**
     * 向注册表中注册 BeanDefinition
     *
     * @param beanName bean名称
     * @param beanDefinition bean定义
     * @return void
     * @date 2021/7/26 14:38
     * @author ChenYongJia
     * @version 1.0
     */
    void registerBeanDefinition(String beanName, BeanDefinition beanDefinition);

}
